FieldUtil = {
		genFieldVo: function (fieldTo){
			var fieldVo = App.FieldVo.create();
			
			Ember.mixin(fieldVo, {
				uid: fieldTo.uid,
				type: fieldTo.type,
				name: fieldTo.name,
				valid: fieldTo.valid // Ember.Object.create(fieldTo.valid)
			});
			if (fieldTo.type == "sectionBreak") {
				Ember.mixin(fieldVo, {
					desc: fieldTo.desc
				});
			} else if (fieldTo.type == "image") {
				Ember.mixin(fieldVo, {
					src: fieldTo.src
				});
			} else if (fieldTo.type == "phone") {
				Ember.mixin(fieldVo, {
					format: fieldTo.format
				});
			} else if (fieldTo.type == "price") {
				Ember.mixin(fieldVo, {
					currency: fieldTo.currency
				});
			} else if (fieldTo.type == "multipleChoice" || fieldTo.type == "checkboxes" || fieldTo.type == "dropdown") {			
				var optVos = [];
				fieldTo.options.forEach(function(optTo) {						
					var optVo = Ember.Object.create(optTo);
					Ember.mixin(optVo, {
						group: fieldTo.uid
					});
					optVos.pushObject(optVo);
					Vari.fieldMap.set(optVo.get("uid"), optVo);
				});
				Ember.mixin(fieldVo, {
					options: optVos,
				});
				
				if (fieldTo.type == "dropdown"){
					Ember.mixin(fieldVo, {
						isMultiple: fieldTo.isMultiple
					});
				} 
			}
			return fieldVo;
		}
};